package com.example.jobback.websocket.resp;

import com.example.jobback.websocket.common.MessageType;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: ErrorMessageResp
 * @Description: 错误消息响应体
 * @Author: lhb
 * @Date: 2025/5/27
 */
@Data
public class ErrorMessageResp {
    private Object message;

    public ErrorMessageResp() {
    }

    public ErrorMessageResp(Object message, MessageType messageType, LocalDateTime createdAt) {
        this.message = message;
        this.messageType = messageType;
        this.createdAt = createdAt;
    }

    private MessageType messageType;
    private LocalDateTime createdAt;
}
